package com.atguigu.gmall.feign.search.fallback;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.feign.search.SkuEsFeignClient;
import com.atguigu.gmall.model.list.Goods;
import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class SkuEsFeignClientFallBack implements SkuEsFeignClient {

    @Override
    public Result saveSkuToEs(Goods goods) {
        return null;
    }

    @Override
    public Result delSkuToEs(Long skuId) {
        return null;
    }

    @Override
    public Map<String, Object> searchGood(SearchParam searchParam) {
        return null;
    }

    @Override
    public Result updateSkuHotScore(Long skuId, Long hotScore) {
        return null;
    }
}
